package com.dwms.feign.base;

import com.alibaba.fastjson.JSONObject;
import com.dwms.entity.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(value = "base-server", path = "/plugin")
public interface PluginFeignClient {

    @PostMapping("/getWarehousePlugins")
    Result<List<JSONObject>> getWarehousePlugins();
}
